import {Component, Input, OnInit, TemplateRef} from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Observable } from 'rxjs';
import { switchMap } from 'rxjs/operators';

@Component({
  selector: 'app-second',
  templateUrl: './second.component.html',
  styleUrls: ['./second.component.css']
})
export class SecondComponent implements OnInit {



  title = 'try-tpl';
  hero = {
    name: 'lijin'
  };
  lessons = [1, 2, 3];
  constructor(
  ) { }

  ngOnInit(): void {
  }

}
